//
//  HMTestViewController.swift
//  WeiBo
//
//  Created by Feng on 2017/6/4.
//  Copyright © 2017年 feng. All rights reserved.
//

import UIKit

class HMTestViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        setupUI()
    }

    func setupUI()
    {
        view.backgroundColor = UIColor.white
        
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "Push", target: self, action: #selector(pushButtonClick))
    }
    
    func pushButtonClick()
    {
        let testVC = HMTestViewController()
        
        navigationController?.pushViewController(testVC, animated: true)
    }
}
